package com.avengers.common.bean;

import com.avengers.core.bean.enums.Currency;
import com.google.gson.annotations.SerializedName;

import java.math.BigDecimal;

/**
 * @author yu.wang
 * @since 2020-05-13 14:10
 **/
public class ApiAuctionSimpleInfo {
    @SerializedName("bidding_id")
    private Integer auctionId;
    private String domain;
    /**
     * AuctionChannelType.name()
     */
    private String type;
    private Currency currency;
    @SerializedName("max_bid")
    private BigDecimal maxPrice;
    @SerializedName("next_bid")
    private BigDecimal nextPrice;
    @SerializedName("end_time")
    private Long endTimeMillis;
    /**
     * 汇率当currency = USD 时填写
     */
    @SerializedName("usd_rate")
    private BigDecimal usdRate;
    @SerializedName("transfer_in_price")
    private BigDecimal transferInPrice;

    public Integer getAuctionId() {
        return auctionId;
    }

    public void setAuctionId(Integer auctionId) {
        this.auctionId = auctionId;
    }

    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Currency getCurrency() {
        return currency;
    }

    public void setCurrency(Currency currency) {
        this.currency = currency;
    }

    public BigDecimal getMaxPrice() {
        return maxPrice;
    }

    public void setMaxPrice(BigDecimal maxPrice) {
        this.maxPrice = maxPrice;
    }

    public BigDecimal getNextPrice() {
        return nextPrice;
    }

    public void setNextPrice(BigDecimal nextPrice) {
        this.nextPrice = nextPrice;
    }

    public Long getEndTimeMillis() {
        return endTimeMillis;
    }

    public void setEndTimeMillis(Long endTimeMillis) {
        this.endTimeMillis = endTimeMillis;
    }

    public BigDecimal getUsdRate() {
        return usdRate;
    }

    public void setUsdRate(BigDecimal usdRate) {
        this.usdRate = usdRate;
    }

    public BigDecimal getTransferInPrice() {
        return transferInPrice;
    }

    public void setTransferInPrice(BigDecimal transferInPrice) {
        this.transferInPrice = transferInPrice;
    }
}
